Skip to content

Conversation

@mariovisic
Copy link
Contributor

The example code for the ui.autocomplete combobox will often be used within a form element. If this is the case, pressing the dropdown button to view all of the available options will result in the form being submitted, which doesn't sound like the desired behavior.

I have modified the example to so that the button has a type of 'button'. I would have used attr, but jQuery doesn't seem to let you set the type using the attr method.

@scottgonzalez
Copy link
Member

Thanks, landed in cf48a3c (master) and ffc0855 (1-8-stable).

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants